using System.Collections;
using System.Collections.Generic;

namespace ICSharpCode.TextEditor.Formatting.TSqlFormatter.Interfaces
{
    public interface ITokenList : IList<IToken>, ICollection<IToken>, IEnumerable<IToken>, IEnumerable
    {
        bool HasUnfinishedToken { get; set; }

        string PrettyPrint();

        IList<IToken> GetRange(int index, int count);

        IList<IToken> GetRangeByIndex(int fromIndex, int toIndex);
    }
}
